package com.wsoft.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author Zhang gukai
 * @Date 2024/9/18 15:37
 */
@Data
public class SysOrganizationVO {
    @Schema(description = "主表id")
    private Long id;

    @Schema(description = "与id保持一致，仅用于权限控制用")
    private Long orgId;

    @Schema(description = "父组织id")
    private Long paId;

    @Schema(description = "父组织名称")
    private String paName;



    @Schema(description = "编码(3-3-3格式)")
    private String code;

    @Schema(description = "简称")
    private String name;

    @Schema(description = "简称")
    private String abbrName;

    @Schema(description = "数据字典(集团、公司、部门)")
    private String type;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "编码(3-3-3格式) 用于数据权限")
    private String authCode;

    private List<SysOrganizationVO> children;
}
